package com.mb.mp.service;

import com.mb.mp.domain.MpProductInfoDO;
import com.mb.mp.domain.RechargeCfgDO;

import java.util.List;
import java.util.Map;

/**
 * 产品管理服务
 *
 * @author
 * @create 2018-09-19 下午3:34
 **/

public interface IProductService {
    /**
     * 分页查询
     * @param map
     * @return
     */
    public List<MpProductInfoDO> queryList(Map<String, Object> map);

    public int count(Map<String, Object> map);

    public int save(MpProductInfoDO productInfo);

    public int update(MpProductInfoDO productInfo);

    public int remove(Long productId);

    public MpProductInfoDO getDtl(Long productId);

    public int updateRecharge(RechargeCfgDO rechargeCfgDO);

    public RechargeCfgDO getRechargeCfg(RechargeCfgDO rechargeCfgDO);

}
